.n-dialog {
  &.n-modal {
    width: 440px;
    min-width: 400px;
    max-width: 80%;
  }

  &::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-image:
      linear-gradient(
        270deg,
        var(--datav-slider-color) 0,
        var(--datav-main-color) 74%
      );
  }

  .n-dialog__close {
    transition: 0.3s ease;

    &:hover {
      transform-origin: center;
      transform: rotateZ(90deg);
    }
  }

  .n-dialog-icon-container {
    margin-top: 14px;
  }

  .n-dialog__title {
    color: var(--datav-main-color);
    font-size: 14px;
    font-weight: 500;
  }

  .n-dialog__content {
    padding: 10px 20px 30px;
    border-bottom: var(--datav-ft-border);
  }

  .n-dialog__action {
    padding-top: 16px;
  }

  &.n-dialog--icon-top {
    .n-dialog__action {
      padding-top: 16px;
      justify-content: flex-end;
    }
  }
}
